package com.maiji.cloud.request.shopingmall;

import com.maiji.cloud.request.ReqMetaData;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.List;

@NoArgsConstructor
@Data
@Accessors(chain=true)
public class GoodsUpDownReqDto {

    @ApiModelProperty(value="请求参数")
    private GoodsUpDownReqData data;

    @ApiModelProperty(value="分页参数")
    private ReqMetaData metaData;

    @NoArgsConstructor
    @Data
    @Accessors(chain=true)
    public class GoodsUpDownReqData {

        @ApiModelProperty(value="商品ID")
        private String goodsId;

        @ApiModelProperty(value="0-上架商品，1-下架商品，默认值0")
        private Integer isDel = 0;
    }

}
